package com.shuwang.jnidemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		System.out.println("xx"+sayHello());
	}

	public native String sayHello();

	static {
		System.loadLibrary("mainactivity");
	}
}
